package com.teamall.web.fpxm.db.dao.mapper;

import com.teamall.web.fpxm.db.arg.AidProjectArg;
import com.teamall.web.fpxm.db.po.AidProjectPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IAidProjectMapper {
    
    List<Integer> countByArg(AidProjectArg arg);

    List<AidProjectPO> selectByArg(AidProjectArg arg);

    AidProjectPO selectByPrimaryKey(Integer id);

    List<AidProjectPO> selectByArgAndPage(AidProjectArg arg, RowBounds rowBound);

    int insert(AidProjectPO record);

    int insertSelective(AidProjectPO record);

    int insertBatch(@Param("list") List<AidProjectPO> records);

    int updateByArgSelective(@Param("record") AidProjectPO record,
            @Param("arg") AidProjectArg arg);

    int updateByArg(@Param("record") AidProjectPO record,
            @Param("arg") AidProjectArg arg);

    int updateByPrimaryKeySelective(AidProjectPO record);

    int updateByPrimaryKey(AidProjectPO record);
    
    int deleteByArg(AidProjectArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}